package com.tensquare.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 活动
 * </p>
 *
 * @author caoxingsheng
 * @since 2019-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_gathering")
@ApiModel(value="Gathering对象", description="活动")
public class Gathering implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "活动名称")
    private String name;

    @ApiModelProperty(value = "大会简介")
    private String summary;

    @ApiModelProperty(value = "详细说明")
    private String detail;

    @ApiModelProperty(value = "主办方")
    private String sponsor;

    @ApiModelProperty(value = "活动图片")
    private String image;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime starttime;

    @ApiModelProperty(value = "截止时间")
    private LocalDateTime endtime;

    @ApiModelProperty(value = "举办地点")
    private String address;

    @ApiModelProperty(value = "报名截止")
    private LocalDateTime enrolltime;

    @ApiModelProperty(value = "是否可见")
    private String state;

    @ApiModelProperty(value = "城市")
    private String city;


}
